import React, { PureComponent } from 'react';
import {
  Card
} from 'antd';
import PageHeaderWrapper from '@/components/PageHeaderWrapper';

class Swagger extends PureComponent {
  componentDidMount(){
    console.log("init")
  }

  render() {
    return (
      <PageHeaderWrapper title="接口文档">
        <Card bordered={false}>
          <iframe
            style={{
              width: '100%',
              height: '650px',
              frameborder: "no",
              border: "0",
              marginwidth: "0",
              marginheight: "0",
              scrolling: "no"
            }}
            title='swagger'
            src="http://localhost:8080/swagger-ui.html"
          />
        </Card>
      </PageHeaderWrapper>
    )
  }
}

export default Swagger;